﻿/* ================================================================================
<copyright file="ILogPublisher.cs" company="The Framework Factory, LLC" lastWriteTime="12/05/2012 23:23:47 PM">
  Copyright (c) 2012 The Framework Factory, LLC.  All rights reserved.
</copyright>
=================================================================================== */
using System;

namespace FWF.Logging.Net
{
    /// <summary>
    /// Defines the ability to subscribe/unsubscribe a particular endpoint via a url.
    /// </summary>
    public interface ILogPublisher : ITestRemoteCall
    {

        /// <summary>
        /// Adds the subscription.
        /// </summary>
        /// <param name="url">The URL.</param>
        void AddSubscription( Uri url );

        /// <summary>
        /// Removes the subscription.
        /// </summary>
        /// <param name="url">The URL.</param>
        void RemoveSubscription( Uri url );

    }
}
